package com.java1412.tree.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 模型文件树表对象 ism_model_tree
 * 
 * @author ruoyi
 * @date 2023-12-18
 */
public class IsmModelTree extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 唯一标识 */
    @Excel(name = "唯一标识")
    private Long expressId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String tag;

    /** 楼层id */
    @Excel(name = "楼层id")
    private Long typeOfBuildingId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setExpressId(Long expressId) 
    {
        this.expressId = expressId;
    }

    public Long getExpressId() 
    {
        return expressId;
    }
    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }
    public void setTypeOfBuildingId(Long typeOfBuildingId) 
    {
        this.typeOfBuildingId = typeOfBuildingId;
    }

    public Long getTypeOfBuildingId() 
    {
        return typeOfBuildingId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("name", getName())
            .append("ancestors", getAncestors())
            .append("orderNum", getOrderNum())
            .append("expressId", getExpressId())
            .append("tag", getTag())
            .append("typeOfBuildingId", getTypeOfBuildingId())
            .toString();
    }
}
